import {
    request
} from './request'

//获取收藏信息
export function getUserCollect() {
    return request({
        url: '/user/subcount',
        params: {}
    })
}

//获取已收藏专辑列表
export function getAblumCollect(limit, offset) {
    return request({
        url: '/album/sublist',
        params: {
            limit,
            offset
        }
    })
}
//收藏的歌手列表
export function getSingerCollect() {
    return request({
        url: '/artist/sublist',
        params: {

        }
    })
}
//收藏的mv列表
export function getVideoCollect() {
    return request({
        url: '/mv/sublist',
        params: {}
    })
}

//获取动态
export function getEvent(pagesize, lasttime) {
    return request({
        url: '/event',
        params: {
            pagesize,
            lasttime
        }
    })
}

//获取用户动态
export function getUserEvent(uid, limit, lasttime) {
    return request({
        url: '/user/event',
        params: {
            uid,
            limit,
            lasttime
        }
    })
}